package com.googlecode.gwtbb.client.only.widget.basic;

import com.google.gwt.user.client.ui.Hyperlink;
import com.googlecode.gwtbb.client.only.glue.TokenGenerator;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Jul 30, 2008
 */
public class Histolink extends Hyperlink implements TokenGenerator {
	public Histolink() {
	}

	public Histolink(String text, String targetHistoryToken) {
		super(text, targetHistoryToken);
	}

	public Histolink(String text, boolean asHTML, String targetHistoryToken) {
		super(text, asHTML, targetHistoryToken);
	}

	public String generateToken() {
		return getTargetHistoryToken();
	}
}
